package site.qjdb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@MapperScan({"site.qjdb.dao"})
@EnableRabbit
@SpringBootApplication
public class QbApplication {
    public static void main(String[] args) {
        SpringApplication.run(QbApplication.class, args);
    }
}
